﻿using System;
using System.Runtime.InteropServices;

namespace DirectShow
{
	[ComImport, System.Security.SuppressUnmanagedCodeSecurity,
	Guid("36b73881-c2c8-11cf-8b46-00805f6cef60"),
	InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
	public interface IAMStreamControl
	{
		[PreserveSig]
		int StartAt(
				[In] DsLong ptStart,
				[In] int dwCookie
				);

		[PreserveSig]
		int StopAt(
				[In] DsLong ptStop,
				[In, MarshalAs(UnmanagedType.Bool)] bool bSendExtra,
				[In] int dwCookie
				);

		[PreserveSig]
		int GetInfo([Out] out AMStreamInfo pInfo);
	}

}
